CreateDocument
CreateDocument[{expr1, expr2, ...}] creates an empty notebook and populates with the content.
Use the option Visible->False to create the content and the notebook offscreen
Please visit the official Wolfram Language Reference for more details and examples on core symbols.